﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;

namespace Entities
{
	[Serializable]
	public class Smartlist
	{
		private int id;
		private string name;
		private BindingList<SmartlistCriteria> criteria = new BindingList<SmartlistCriteria>();
		private string stringCriteria;

		public int Id
		{
			get { return id; }
			set { id = value; }
		}

		public string Name
		{
			get { return name; }
			set { name = value; }
		}

		public BindingList<SmartlistCriteria> Criteria
		{
			get { return criteria; }
			set { criteria = value; }
		}

		public string StringCriteria
		{
			get { return stringCriteria; }
			set { stringCriteria = value; }
		}
	}
}